package com.caishi.lkx.distribution.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = "wx")
public class WeixinModel {
    @Value("${wx.mchid}")
    private String mchid;
    @Value("${wx.api-serial-number}")
    private String apiSerialNumber;
    @Value("${wx.api-key}")
    private String apiKey;
    @Value("${wx.api-v3}")
    private String apiV3;
    @Value("${wx.pay-serial-number}")
    private String paySerialNumber;
    @Value("${wx.pay-public-key}")
    private String payPublicKey;

    @Value("${wx.fw-appid}")
    private String fwAppid;
    @Value("${wx.fw-app-secret}")
    private String fwAppSecret;
    @Value("${wx.transfer-scene-id}")
    private String transferSceneId;
    @Value("${wx.platform-id}")
    private String platformId;
    @Value("${wx.platform-key}")
    private String platformKey;

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getPlatformKey() {
        return platformKey;
    }

    public void setPlatformKey(String platformKey) {
        this.platformKey = platformKey;
    }

    public String getTransferSceneId() {
        return transferSceneId;
    }

    public void setTransferSceneId(String transferSceneId) {
        this.transferSceneId = transferSceneId;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getApiSerialNumber() {
        return apiSerialNumber;
    }

    public void setApiSerialNumber(String apiSerialNumber) {
        this.apiSerialNumber = apiSerialNumber;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getApiV3() {
        return apiV3;
    }

    public void setApiV3(String apiV3) {
        this.apiV3 = apiV3;
    }

    public String getPaySerialNumber() {
        return paySerialNumber;
    }

    public void setPaySerialNumber(String paySerialNumber) {
        this.paySerialNumber = paySerialNumber;
    }

    public String getPayPublicKey() {
        return payPublicKey;
    }

    public void setPayPublicKey(String payPublicKey) {
        this.payPublicKey = payPublicKey;
    }

    public String getFwAppid() {
        return fwAppid;
    }

    public void setFwAppid(String fwAppid) {
        this.fwAppid = fwAppid;
    }

    public String getFwAppSecret() {
        return fwAppSecret;
    }

    public void setFwAppSecret(String fwAppSecret) {
        this.fwAppSecret = fwAppSecret;
    }
}

